#ifndef OPTIONSVIEW_H
#define OPTIONSVIEW_H

#include <QGroupBox>
#include "model/usermodel.h"

namespace Ui {
    class OptionsView;
}

class OptionsView : public QGroupBox {
    Q_OBJECT
public:
    OptionsView(QWidget *parent = 0);
    ~OptionsView();
private slots:
    void startSystem();
    void changePassWord();
    void createUser();
    void listUsers();
signals:
    bool start(bool values);
    bool changePass(bool values);
    bool create(bool values);
    bool listUser(bool values);

protected:
    void changeEvent(QEvent *e);

private:
    Ui::OptionsView *ui;
};

#endif // OPTIONSVIEW_H
